package com.woniuxy.cloud.carl.marketing.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 积分商城表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_score_mall")
public class ScoreMall implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 积分商品Id
     */
    @TableId(value = "score_mall_goods_id", type = IdType.AUTO)
    private Long scoreMallGoodsId;

    /**
     * skuId
     */
    private Long skuId;

    /**
     * 优惠券id
     */
    private Long couponId;

    /**
     * 兑换所需积分
     */
    private Integer score;

    /**
     * 备注
     */
    private String remark;

    private Integer status;
}
